//
//  ZHRPathComponent.h
//  ZHRouter_Example
//
//  Created by 赵宏亚 on 2019/8/24.
//  Copyright © 2019 Arthur. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^ZHRPathComponentCustomHandler)(NSDictionary<NSString *, id> *params);

@interface ZHRPathComponent : NSObject

@property (nonatomic, copy) NSString *key; // 路由注册key值
@property (nonatomic, copy) NSString *name; // protocol名字或者class名字
@property (nonatomic, copy) ZHRPathComponentCustomHandler handler;

@end

NS_ASSUME_NONNULL_END
